﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace BeerScanatronClient.Entities
{
    [DataContract]
    [Table("DrinkerPicture")]
    public class DrinkerPicture
    {
        [DataMember]
        [Key]
        public int Id { get; private set; }

        [DataMember]
        [Required]
        public int DrinkerID { get; set; }

        [DataMember]
        [Timestamp]
        public Byte[] TimeStamp { get; private set; }

        [DataMember]
        public byte[] Picture { get; set; }
    }
}